<%@ include file="/view/common/init.jsp"%>
<c:choose>  
	<c:when test="${loginUser.roleLogin || loginUser.roleViewGraphicalReports}">
		<c:redirect url="/agent/index.do"></c:redirect>  
	</c:when>  
	<c:otherwise>
		<c:choose>  
			<c:when test='${loginUser.roleAgentManagement }'>  
 				<c:redirect url="/agent/list.do"></c:redirect>
			</c:when>  
			<c:otherwise>
				<c:if test="${loginUser.roleUserManagement}">
					<c:redirect url="/user/list.do"></c:redirect>
				</c:if>
			</c:otherwise> 
		</c:choose>  
	</c:otherwise> 
</c:choose>